<template>
  <div class="enter-park">
    <div v-html="content" class="ql-editor"></div>
  </div>
</template>

<script setup lang="ts">
import { getEnterPark } from '@/api/park';
import { onMounted, ref } from 'vue';

const content = ref<string>('');

onMounted(() => {
  getEnterPark().then((res: any) => {
    if (res.code === 200) {
      content.value = res.data.content;
    }
  });
});
</script>

<style lang="scss" scoped>
.enter-park {
  padding: 20px;
}
</style>
